package cn.edu.hrbcu.es.invigilatemanagerment.service;

import cn.edu.hrbcu.es.invigilatemanagerment.pojo.School;
import cn.edu.hrbcu.es.invigilatemanagerment.pojo.Speciality;
import cn.edu.hrbcu.es.invigilatemanagerment.pojo.University;

import java.util.List;

public interface ISpecialityService {
    int insertSpeciality(Speciality speciality);

    List<Speciality> queryAllSpeciality();

    Speciality querySpecialityById(Integer id);

    int deleteSpecialityById(Integer id);

    int updateSpecialityById(Speciality speciality);

    int queryTotalSpecialityCount();

    List<Speciality> querySpecialityByPage(int pageNow,int pageSize);
}
